import {
	get,post,postJson
} from './request2.js';


// 获取当前的支持的AI
export const getSupportedAI = data => postJson('/getSupportedAI/coze', data);

// 获取文生图支持的图像风格
export const getTextToImageStyle = data => postJson('/cozeImage/getTextToImageStyle', data);

// 获取当前支持的图片生成比例
export const getSupportedImageSize = data => postJson('/cozeImage/getSupportedImageSize', data);

// 获取图片风格重绘支持的风格
export const getImageRepaintStyle = data => postJson('/cozeImage/getImageRepaintStyle', data);

//获取任务结果
export const ffgetTaskResult = data => postJson('/ff/getTaskResult', data);

//处理图片ai请求
export const cozeImageaiProcess = data => postJson('/cozeImage/aiProcess', data);

//删除任务结果
export const ffdeleteTaskResult = data => postJson('/ff/deleteTaskResult', data);

//获取可用的音色
export const getAvailableVoice = data => postJson('/cozeVoice/getAvailableVoice', data);

//处理声音ai请求
export const cozeVoiceaiProcess = data => postJson('/cozeVoice/aiProcess', data);

//获取音乐配置信息
export const getMusicConfig = data => postJson('/cozeMusic/getMusicConfig', data);

//处理音乐ai请求
export const cozeMusicaiProcess = data => postJson('/cozeMusic/aiProcess', data);

//获取视频背景音乐
export const ffgetMusicStyle = data => postJson('/ff/getMusicStyle', data);

//获取图片之前的转换方式
export const getImageTranStyle = data => postJson('/ff/getImageTranStyle', data);

//多图生视频请求提交
export const ffsubmitImages2videoRequest = data => postJson('/ff/submitImages2videoRequest', data);
//增加-更新朋友圈
export const upsertMoment = data => postJson('/moment/upsertMoment', data)


//获取广场的朋友圈列表
export const getAllShareMoment = data => postJson('/share/getAllMoment', data)
export const getAllMoment = data => postJson('/moment/getAllMoment', data)

//看过朋友圈
export const viewShareMoment = data => postJson('/share/viewMoment', data)
export const viewMoment = data => postJson('/moment/viewMoment', data)

//获取我关注的的朋友圈列表
export const getFocusedMoment = data => postJson('/moment/getFocusedMoment', data)


//给发布的朋友圈进行评论
export const momentcomment = data => postJson('/moment/comment', data)


//删除评论
export const deleteComment = data => postJson('/moment/deleteComment', data)

//修改经纬度信息
export const userupdateLocation = data => postJson('/user/updateLocation', data)

//获取同城的朋友圈列表
export const getSameCityMoment = data => postJson('/moment/getSameCityMoment', data)

//获取我自己发布的朋友圈列表
export const getMyPublishedMoment = data => postJson('/moment/getMyPublishedMoment', data)

//删除朋友圈
export const deleteMoment = data => postJson('/moment/deleteMoment', data)

//获取当前的城市
export const getCurrentCity = data => postJson('/city/getCurrentCity', data)

//删除朋友圈
export const momentdeleteMoment = data => postJson('/moment/deleteMoment', data)

//获取城市列表
export const getCities = data => postJson('/city/getCities', data)

//朋友圈点赞或取消点赞
export const likeUnlikeMoment = data => postJson('/moment/likeUnlikeMoment', data)

//获取Tags
export const getTag = data => postJson('/user/getTag', data)



//修改用户信息
export const updateUserInfo = data => postJson('/user/updateUserInfo', data)

//获取用户相关统计信息
export const queryMyStatistics = data => postJson('/statistic/queryMyStatistics', data)

//获取粉丝或关注者列表
export const queryMyFollowers = data => postJson('/follow/queryMyFollowers', data)

//关注-取消关注
export const followfocus = data => postJson('/follow/focus', data)

//看过朋友圈
// export const viewMoment = data => postJson('/moment/viewMoment', data)

//返回我历史浏览的朋友圈
export const getMyFootprint = data => postJson('/moment/getMyFootprint', data)

//修改头像
export const changeAvatar = data => postJson('/user/changeAvatar', data)

//返回用户Favorite的朋友圈
export const getUserFavorite = data => postJson('/moment/getUserFavorite', data)

//我的消息
export const getMyMessage = data => postJson('/message/getMyMessage', data)

//消息已读
export const messageRead = data => postJson('/message/messageRead', data)

//获取我的朋友圈草稿列表
export const getMyDraftMoment = data => postJson('/moment/getMyDraftMoment', data)

//发送消息
export const sendMessag = data => postJson('/message/sendMessage', data)

//发送消息
export const getUserMessage = data => postJson('/message/getUserMessage', data)

//获取未读消息个数
export const getUnReadMessageCount = data => postJson('/message/getUnReadMessageCount', data)

//检测是否已经关注了
export const checkFocused = data => postJson('/follow/checkFocused', data)


//创建用户,此接口会根据用户在家庭端开启功能后会调用的
export const createUser = data => postJson('/user/createUser', data)

//返回用户的个人信息，不包含文章信息
export const getUserInfo = data => postJson('/user/getUserInfo', data)

//收藏朋友圈或取消收藏朋友圈
export const favoriteUnFavoriteMoment = data => postJson('/moment/favoriteUnFavoriteMoment', data)

// 获取任务分类
export const getTaskCategory= data => postJson('/myTasks/getTaskCategory', data);

// 添加任务到任务池
export const addTaskToPool= data => postJson('/myTasks/addTaskToPool', data);

// 获取任务池中的任务(未分配的)
export const getPoolTasks= data => postJson('/myTasks/getPoolTasks', data);

// 更新任务
export const updateTask= data => postJson('/myTasks/updateTask', data);

// 开始任务
export const startTask= data => postJson('/myTasks/startTask', data);

// 完成任务
export const finishTask= data => postJson('/myTasks/finishTask', data);

// 分配任务到特定日期
export const assignTasksToDay= data => postJson('/myTasks/assignTasksToDay', data);

// 分配
export const getAssignedTasks= data => postJson('/myTasks/getAssignedTasks', data);

// 返回任务到任务池
export const returnTaskToPool= data => postJson('/myTasks/returnTaskToPool', data);

// 从任务池删除任务
export const removeTaskFromPool= data => postJson('/myTasks/removeTaskFromPool', data);

// 大转盘选择任务
export const wheel= data => postJson('/myTasks/wheel', data);

